@import "./reset.css";
@import "./modal.scss";
@import "./animate.scss";

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 4px;
}
body {
  // TODO:
  // cursor: url(https://cdn.jsdelivr.net/gh/Ukenn2112/UkennWeb@5.2/cur/texto.cur), auto;

  width: 100%;
  height: 100%;
  overflow-y: scroll;
  background: linear-gradient(
    90deg,
    rgba(247, 149, 51, 0.1) 0,
    rgba(243, 112, 85, 0.1) 15%,
    rgba(239, 78, 123, 0.1) 30%,
    rgba(161, 102, 171, 0.1) 44%,
    rgba(80, 115, 184, 0.1) 58%,
    rgba(16, 152, 173, 0.1) 72%,
    rgba(7, 179, 155, 0.1) 86%,
    rgba(109, 186, 130, 0.1) 100%
  );
  // font-family: 'Encode Sans Condensed', sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Lato, Roboto, "PingFang SC", "Microsoft YaHei", sans-serif !important;
  // 设置无法选中文字
  // user-select: none;
  // -moz-user-select: none;
  // -webkit-user-select: none;
}

#root {
  width: 100%;
  height: 100%;
}

.not-have-scrollbar {
  // 自定义滚动条样式
  &::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }
  &::-webkit-scrollbar-track {
    background-color: none;
    border-radius: 0;
  }
  &::-webkit-scrollbar-thumb {
    background-color: none;
    background-image: none;
    border-radius: 0em;
  }
}

// 自定义滚动条样式
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: rgba(73, 177, 245, 0.2);
  border-radius: 2em;
}

::-webkit-scrollbar-thumb {
  background-color: #49b1f5;
  background-image: -webkit-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.4) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.4) 75%,
    transparent 75%,
    transparent
  );
  border-radius: 2em;
}

::-webkit-scrollbar-corner {
  background-color: transparent;
}

::-moz-selection {
  color: #fff;
  background-color: #49b1f5;
}

@font-face {
  font-family: "DS-Digital";
  src: url(../assets/font/DS-Digital/DS-DIGI-1.ttf),
    url(../assets/font/DS-Digital/DS-DIGIB-2.ttf),
    url(../assets/font/DS-Digital/DS-DIGII-3.ttf),
    url(../assets/font/DS-Digital/DS-DIGIT-4.ttf);
}

.fade-enter {
  opacity: 0;
  transition: all 500ms;
}

.fade-enter-active {
  opacity: 1;
  transition: all 500ms;
}

.fade-exit {
  opacity: 1;
  transition: all 500ms;
}

.fade-exit-active {
  opacity: 0;
  transition: all 500ms;
}

.flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.ell {
  width: 100%;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.selfswtich-check {
  background-color: green !important;
}
.selfswtich-check:hover {
  background-color: green !important;
}
.selfswtich-uncheck {
  background-color: rgba(0, 0, 0, 0.25) !important;
}

.selfswtich-uncheck:hover {
  background-color: rgba(0, 0, 0, 0.45) !important;
}
